package com.cyru.statemachine;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class StateMachineApplication {

    private static final Logger logger = LoggerFactory.getLogger(StateMachineApplication.class);

    public static void main(String[] args) {
        try {
            SpringApplication.run(StateMachineApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
        logger.info("Application started successfully");
    }
}
